<template>
  <div class="rebo">
    <div class="head">精彩热议</div>
    <div class="conter">
      <div class="reitem1">
        <ul>
          <li v-for="(item, index) in reimg" :key="index">
            <img :src="item.img" alt="" />
            <p>{{ item.p }}</p>
          </li>
        </ul>
      </div>
      <div class="reitem2">
        <img src="../../../../assets/img/body/jingc/jingc6.png" alt="" />
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      reimg: [
        {
          img: require("../../../../assets/img/body/jingc/jingc0.jpg"),
          p: "《蜘蛛侠：英雄无归》曝“英雄危机”预告 经典反派来袭",
        },
        {
          img: require("../../../../assets/img/body/jingc/jingc1.jpg"),
          p: "电影《四海》发布“四海少年阿耀奇遇记版预告”",
        },
        {
          img: require("../../../../assets/img/body/jingc/jingc2.jpg"),
          p: "皮克斯全新动画《光年正传》首发预告！飞向太空，宇宙无限！",
        },
        {
          img: require("../../../../assets/img/body/jingc/jingc3.jpg"),
          p: "【浪客剑心】超燃混剪：我遇见的，是一个叫剑心的浪客",
        },
        {
          img: require("../../../../assets/img/body/jingc/jingc4.jpg"),
          p: "《蜜熊的音乐奇旅》发布“欢乐追击”片段",
        },
      ],
    };
  },
};
</script>

<style lang="scss" scoped>
.rebo {
  width: 100%;
  height: 192px;
  // background-color: violet;
  margin: auto;
  margin-top: 40px;
  .head {
    width: 100%;
    height: 36px;
    // background-color: yellow;
    font-size: 18px;
  }
  .conter {
    width: 100%;
    height: 150px;
    margin-top: 6px;
    // background-color: lime;
    display: flex;
    .reitem1 {
      width: 900px;
      // background-color: aliceblue;
      ul {
        width: 100%;
        height: 100%;
        li {
          float: left;
          margin-right: 20px;
          width: 160px;
          height: 150px;
          // background-color: lime;
          font-size: 12px;
          img {
            width: 100%;
            height: 100px;
            border-radius: 5px;
          }
          p {
            margin: 4px 0px;
            line-height: 20px;
          }
        }
        li:hover > p {
          color: #00a1d6;
          cursor: pointer;
        }
      }
    }
    .reitem2 {
      width: 260px;
      // background-color: red;
      img {
        width: 100%;
        height: 100%;
        border-radius: 5px;
      }
    }
  }
}
</style>